/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package net.hnilice.excel;

import java.util.Date;

/**
 *
 * @author swosh
 */
public class TerminExcel {
    private String nazUlice;
    private Date terCis;
    private String nazAkce;
    private int[] cisOrientacni;
    private String newNazUlice;
    private Date newTerCis;
    private String newNazAkce;
    private int[] newCisOrientacni;
    private StringBuffer errors;

    public TerminExcel(){}

    public TerminExcel(String nazUlice, Date terCis, String nazAkce, int[] cisOrientacni,
            String newNazUlice, Date newTerCis,String newNazAkce,int[] newCisOrientacni) {
        this.nazUlice = nazUlice;
        this.terCis = terCis;
        this.nazAkce = nazAkce;
        this.cisOrientacni = cisOrientacni;
        this.newNazUlice = newNazUlice;
        this.newTerCis = newTerCis;
        this.newNazAkce = newNazAkce;
        this.newCisOrientacni = newCisOrientacni;
    }

    public TerminCisOri getTerminCisOri() {
        TerminCisOri terminCisOri = new TerminCisOri(nazUlice, terCis, nazAkce, cisOrientacni);
        return terminCisOri;
    }

    public void setTerminCisOri(TerminCisOri terminCisOri) {
        this.nazUlice = terminCisOri.getNazUlice();
        this.terCis = terminCisOri.getTerCis();
        this.nazAkce = terminCisOri.getNazAkce();
        this.cisOrientacni = terminCisOri.getCisOrientacni();
    }

    public String getNazUlice() {
        return nazUlice;
    }

    public void setNazUlice(String nazUlice) {
        this.nazUlice = nazUlice;
    }

    public Date getTerCis() {
        return terCis;
    }

    public void setTerCis(Date terCis) {
        this.terCis = terCis;
    }

    public String getNazAkce() {
        return nazAkce;
    }

    public void setNazAkce(String nazAkce) {
        this.nazAkce = nazAkce;
    }

    public int[] getCisOrientacni() {
        return cisOrientacni;
    }

    public void setCisOrientacni(int[] cisOrientacni) {
        this.cisOrientacni = cisOrientacni;
    }

    public String getNewNazUlice() {
        return newNazUlice;
    }

    public void setNewNazUlice(String newNazUlice) {
        this.newNazUlice = newNazUlice;
    }

    public Date getNewTerCis() {
        return newTerCis;
    }

    public void setNewTerCis(Date newTerCis) {
        this.newTerCis = newTerCis;
    }

    public String getNewNazAkce() {
        return newNazAkce;
    }

    public void setNewNazAkce(String newNazAkce) {
        this.nazAkce = newNazAkce;
    }

    public int[] getNewCisOrientacni() {
        return newCisOrientacni;
    }

    public void setNewCisOrientacni(int[] newCisOrientacni) {
        this.newCisOrientacni = newCisOrientacni;
    }

}
